import request from "@/axios/request";
import url from "@/axios/url";
const { mesUrl, adminUrl, commonserviceUrl, baseDataUrl, wmsUrl } = url();

//工作排期表时序表
export function getWorkSchedule(params = {}) {
  return request({
    url: `${mesUrl}mesProdOrder/getWorkSchedule`,
    method: "get",
    params,
  });
}

//工作排期表工单执行情况
export function getWorkScheduleByStatus(params = {}) {
  return request({
    url: `${mesUrl}mesProdOrder/getWorkScheduleByStatus`,
    method: "get",
    params,
  });
}
